package com.otp.service.instance;

import org.appfuse.service.GenericManager;
import com.otp.exceptions.EmailExistsException;
import org.appfuse.model.User;
import org.appfuse.service.UserExistsException;

public interface User1Manager extends GenericManager<User, Long>{
	
	public User getUserByUsername(String username);
	public User getUserByEmail(String email);
	
	public void updateUser(User user) throws EmailExistsException;
	public void addUser(User user) throws UserExistsException;
}
